//package com.le.tester.config;
//
//import org.springframework.boot.context.properties.ConfigurationProperties;
//import org.springframework.boot.jdbc.DataSourceBuilder;
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//
//import javax.sql.DataSource;
//
///**
// * createTime：2025-04-10 16:36
// * description：多数据源配置
// */
//@Configuration
//public class DataSourceConfig {
//
//    @Bean(name = "employeeDataSource")
//    @ConfigurationProperties("spring.employee-datasource")
//    public DataSource employeeDataSource() {
//        return DataSourceBuilder.create().build();
//
//    }
//
//    @Bean(name = "salaryDataSource")
//    @ConfigurationProperties("spring.salary-datasource")
//    public DataSource salaryDataSource() {
//        return DataSourceBuilder.create().build();
//
//    }
//}
